CGI.getFileContentType

Get the file content type of the the file posted/put in the cgi envirnment with the variable string name.

returns a string containing the original content type of the file uploaded.

  1. string getFileContentType(string name)
    class CGI
    string
    getFileContentType
    (
    string name
    )
  2. string getFileContentType(string name, int index)

Meta